'use strict';
import { ConfigProvider } from 'antd';
import 'antd/dist/antd.css';
import zhCN from 'antd/lib/locale-provider/zh_CN';
import React from 'react';
import ReactDOM from 'react-dom';
import styles from './reset.less';
import Routers from './Routers';

const appDom = document.getElementById('app') as HTMLDivElement;

appDom.classList.add(styles.app, styles.scrollbar);

ReactDOM.render(
    <ConfigProvider locale={zhCN} >
        <Routers />
    </ConfigProvider>,
    appDom
);


(module as any).hot && (module as any).hot.accept();